package cn.wolfcode.car.business.domain;

import cn.wolfcode.car.base.domain.User;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
@Getter
@Setter
public class CarPackageAuditHistory {
    public static final Integer STATUS_IN_ROGRESS = 0;//审核中
    public static final Integer STATUS_REJECT = 1;//审核拒绝
    public static final Integer STATUS_PASS = 2;//审核通过
    public static final Integer STATUS_CANCEL = 3;//审核撤销
    private static final long serialVersionUID = 1L;
    /** 主键*/
    private Long id;

    /** 关联套餐审核业务记录表id*/
    private Long carPackageAuditId;

    /** 关联服务项id*/
    private Long serviceItemId;

    /** 服务项备注*/
    private String serviceItemInfo;

    /** 服务项审核价格*/
    private String serviceItemPrice;
    //服务单项对象
    private ServiceItem serviceItem;
    /** 关联流程实例id*/
    private Long instanceId;

    /** 创建者*/
    private String creator;

    /** 当前审核人id*/
    private Long auditorId;
    // 当前审核人对象
    private User auditor;

    /** 关联流程定义id*/
    private Long bpmnInfoId;
    // 关联流程定义对象
    private BpmnInfo bpmnInfo;

    /** 审核信息，审核人备注*/
    private String info;

    /** 状态【进行中0/审核拒绝0/审核通过1/审核撤销2】*/
    private Integer status;

    /** 审核时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date auditTime;

    /** 创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createTime;


}